package com.feemanage.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.feemanage.domain.BizProjectPayout;
import com.feemanage.domain.BudgetSubjectPayout;
import com.feemanage.domain.bo.PayoutDetailsBo;
import com.feemanage.domain.vo.BizProjectPayoutVo;
import com.feemanage.domain.vo.ProjectPayoutVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface bizProjectPayoutMapper extends BaseMapper<BizProjectPayout> {


    IPage<BizProjectPayoutVo> selectPageList(@Param("page") Page<BizProjectPayoutVo> page, @Param(Constants.WRAPPER) QueryWrapper<BizProjectPayout> wrapper);

    List<BizProjectPayoutVo> selectPageList(@Param(Constants.WRAPPER) QueryWrapper<BizProjectPayout> wrapper);

    List<BudgetSubjectPayout> selectSubjectList(@Param(Constants.WRAPPER) QueryWrapper<PayoutDetailsBo> wrapper, @Param("feesource") String feesource,@Param("ID") String ID);

    ProjectPayoutVo selectListOne(@Param(Constants.WRAPPER) QueryWrapper<BizProjectPayout> wrapper);

    BudgetSubjectPayout selectSubjectList(@Param(Constants.WRAPPER) QueryWrapper<PayoutDetailsBo> wrapper, @Param("feesource") String feesource, @Param("type") String type,@Param("ID") String ID);
}
